home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr11
/
dos6nts.zip
/
PD0465.TXT
< prev
Wrap
Text File
|
1993-06-22
|
10KB
|
253 lines
======================================================================
Microsoft(R) Product Support Services Application Note (Text File)
PD0465: PROBLEMS FORMATTING OR READING A FLOPPY DISK
======================================================================
Revision Date: 4/93
No Disk Included
The following information applies to Microsoft MS-DOS(R) versions 5.0
and 6.0.
--------------------------------------------------------------------
| INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY |
| ACCOMPANY THIS DOCUMENT (collectively referred to as an |
| Application Note) IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY |
| KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO |
| THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A |
| PARTICULAR PURPOSE. The user assumes the entire risk as to the |
| accuracy and the use of this Application Note. This Application |
| Note may be copied and distributed subject to the following |
| conditions: 1) All text must be copied without modification and |
| all pages must be included; 2) If software is included, all files |
| on the disk(s) must be copied without modification [the MS-DOS(R) |
| utility DISKCOPY is appropriate for this purpose]; 3) All |
| components of this Application Note must be distributed together; |
| and 4) This Application Note may not be distributed for profit. |
| |
| Copyright 1992-1993 Microsoft Corporation. All Rights Reserved. |
| Microsoft and MS-DOS are registered trademarks and Windows |
| is a trademark of Microsoft Corporation. |
--------------------------------------------------------------------
INTRODUCTION
============
This application note discusses the symptoms associated with not being
able to format a floppy disk, the cause of the problem, and how to
solve this behavior.
SYMPTOMS
========
You try to read information from a floppy disk, or format a floppy
disk by using the FORMAT command, and you receive one of the following
error messages:
Invalid media type -- track 0 bad
Parameters not supported by drive
CAUSE
=====
Some hardware manufacturers used earlier versions of MS-DOS to define
the capacity of the floppy disk drives on their computers. MS-DOS
versions 5.0 and 6.0 do not recognize some of these definitions. If
your drive doesn't format floppy disks, you must either redefine the
disk drive using the DRIVPARM command in your CONFIG.SYS file, define
a second configuration for the disk drive using DRIVER.SYS in your
CONFIG.SYS file, or contact the original manufacturer of your hardware
for a BIOS that supports MS-DOS 5.0 and 6.0.
SOLUTIONS
=========
If MS-DOS won't read or format a high-density disk (1.2 megabyte [MB]
or 1.44 MB), try Procedure 1. If you cannot read or format a low-
density disk (360 kilobytes [K] or 720K) or a disk with an unusual
configuration, read the "Problems with Other Disk Sizes" section later
in this document before you try a solution.
IMPORTANT: Try Procedure 1 first. If it does not solve the problem,
try Procedure 2.
PROCEDURE 1: RECONFIGURE AN EXISTING DRIVE
==========================================
1. Use a text editor, such as MS-DOS Editor, to open your CONFIG.SYS
file. If you want to use MS-DOS Editor, type the following at the
MS-DOS command prompt and press ENTER
edit <drive>:\config.sys
where <drive> is the startup drive where your CONFIG.SYS file
currently resides. For example, if your startup drive is drive C,
type the following command:
edit c:\config.sys
2. At the end of the CONFIG.SYS file, add one of the following
commands.
To get your first (or only) floppy disk drive to work with 1.2-MB
(5.25-inch) disks, add the following line:
drivparm=/d:0 /f:1
To get your first (or only) floppy disk drive to work with 1.44-MB
(3.5-inch) disks, add the following line:
drivparm=/d:0 /f:7 /i
To get your second floppy disk drive (if your computer has two) to
work with 1.2-MB (5.25-inch) disks, add the following line:
drivparm=/d:1 /f:1
To get your second floppy disk drive (if your computer has two) to
work with 1.44-MB (3.5-inch) disks, add the following line:
drivparm=/d:1 /f:7 /i
3. Save your CONFIG.SYS file and exit the text editor. If you're using
MS-DOS Editor, choose Exit from the File menu. When MS-DOS Editor
displays a dialog box prompting you to save your file, choose the
Yes button or press ENTER.
4. Restart your computer by pressing CTRL+ALT+DEL.
5. Try reading or formatting the floppy disk again.
If you can read or format the disk, you've solved the problem and
can stop here. If you still cannot read or format the disk, perform
the next procedure.
PROCEDURE 2: CREATE AN ADDITIONAL LOGICAL DRIVE
===============================================
If Procedure 1 did not solve the problem, do the following:
1. Use a text editor, such as MS-DOS Editor, to open your CONFIG.SYS
file. If you want to use MS-DOS Editor, type the following at the
MS-DOS command prompt and press ENTER:
edit <drive>:\config.sys
2. If you added a DRIVPARM command to your CONFIG.SYS file while
following the first procedure, delete the DRIVPARM command.
3. At the end of the CONFIG.SYS file, add one of the following DEVICE
commands.
To get your first (or only) floppy disk drive to work with 1.2-MB
(5.25-inch) disks, add the following line
device=<path>\driver.sys /d:0 /f:1
where <path> is the path to your DRIVER.SYS file. For example, if
your DRIVER.SYS file is located in the DOS directory on drive C,
type the following line:
device=c:\dos\driver.sys /d:0 /f:1
To get your first (or only) floppy disk drive to work with 1.44-MB
(3.5-inch) disks, add the following line:
device=<path>\driver.sys /d:0 /f:7
To get your second floppy disk drive (if your computer has two) to
work with 1.2-MB (5.25-inch) disks, add the following line:
device=<path>\driver.sys /d:1 /f:1
To get your second floppy disk drive (if your computer has two) to
work with 1.44-MB (3.5-inch) disks, add the following line:
device=<path>\driver.sys /d:1 /f:7
4. Save your CONFIG.SYS file and exit the text editor. If you're using
MS-DOS Editor, choose Exit from the File menu. When MS-DOS Editor
displays a dialog box prompting you to save your file, choose the
Yes button or press ENTER.
5. Restart your computer by pressing CTRL+ALT+DEL.
When your computer starts, MS-DOS displays a message stating that
it has created a logical disk drive. This message includes the
letter it has assigned to the new drive. For example, if you had
drives A and C on your system before, this new drive is drive D,
and MS-DOS displays the following message when you start your
computer:
Loaded External Disk Driver for Drive D
6. Insert a disk in the floppy disk drive and try formatting the disk
using the new drive letter. For example, if the new drive is D,
issue the FORMAT command using "d:" as the drive specification by
typing the following at the MS-DOS command prompt and pressing
ENTER:
format d:
If you still cannot format a floppy disk, you need to get updated
hardware or software. If you used DRIVPARM or DRIVER.SYS successfully
with your earlier version of MS-DOS, contact your computer
manufacturer for a BIOS that supports MS-DOS 5.0 and 6.0. If you have
not used DRIVPARM or DRIVER.SYS before, you might need to get an
updated version of your computer manufacturer's version of MS-DOS from
your computer vendor.
PROBLEMS WITH OTHER DISK SIZES
==============================
If MS-DOS won't read or format a low-density disk (360K or 720K) or a
2.88-MB disk, you can follow the procedures outlined earlier in this
document, but you will need to use a different value for the /F
switch. The following table lists the /F switch values to use:
Drive Size Disk Capacity Values to Use
--------------------------------------------
5.25 inch 160K, 180K, /F:0
320K, 360K
3.5 inch 720K /F:2
3.5 inch 2.88 MB /F:9
For example, if you are having problems using a 720K disk drive,
follow Procedure 1 or 2, but substitute /F:2 for the /F switch value
shown in the procedure. When using DRIVPARM to specify drive
parameters on a 3.5-inch disk drive, it may be necessary to use the /I
(the letter "I") switch in addition to the /F switch. The /I switch is
valid with DRIVPARM only and should not be used with DRIVER.SYS.
If you have a disk with an unusual configuration (a nonstandard number
of heads or sectors, for example), you can specify additional switches
with DRIVPARM or DRIVER.SYS. For more information, see the "Microsoft
MS-DOS User's Guide and Reference" for version 5.0 or MS-DOS Help for
version 6.0 (by typing "help" [without the quotation marks] at the
MS-DOS command prompt).
RELATED INFORMATION
===================
Version 5.0
-----------
- For more information about adding disk drives, see Chapter 11 of
the "Microsoft MS-DOS User's Guide and Reference."
- For more information about the DRIVPARM command, see Chapter 14 of
the "Microsoft MS-DOS User's Guide and Reference."
- For more information about the command-line syntax for DRIVER.SYS,
see Chapter 15 of the "Microsoft MS-DOS User's Guide and
Reference."
Version 6.0
-----------
For more information about adding disk drives, about the DRIVPARM
command, or about the command-line syntax for DRIVER.SYS see MS-DOS
Help (by typing "help" [without the quotation marks] at the MS-DOS
command prompt).